package com.hae.mail.order.micomailorderservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableHystrix //开启服务降级 服务熔断 服务隔离
public class MicoMailOrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicoMailOrderServiceApplication.class, args);
    }

}
